<div class="container-fluid">
    <div class="widget-box">
		<div class="widget-title">
			<span class="icon">
				<i class="icon-th"></i>
			</span>
			<h5>登录记录</h5>
		</div>
		<div class="widget-content nopadding">
			<table   style="width:100%" class='table table-bordered table-striped'>
				<thead>
				<tr class="strong">
					<th>UID</th>
					<th>操作来源/去向</th>
					<th>操作系统</th>
					<th>浏览器</th>
					<th>IP地址</th>
					<th>IP归属地</th>
					<th>时间</th>
				</tr>
				</thead>
				<tbody>
				<?php if(!empty($page_data)) foreach($page_data as $items){?>
				<tr>
					<td><?php echo $items['uid'];?></td>
					<td>
					<?php 
						if($items['comefrom'] == 1){
							echo "网页";
						}else if($items['comefrom'] == 2){
							echo "移动客户端";
						}else{
							echo "<span style='color:red'>未知来源</span>";
						}
					?>
					</td>
					<td><?php echo $items['system'];?></td>
					<td><?php echo $items['browser'];?></td>
					<td><?php echo $items['ip'];?></td>
					<td><?php echo $items['area'];?></td>
					<td><?php echo $items['create_time'];?></td>
				</tr>            		
				<?php }?>
				</tbody>
			</table>
		</div>
		<div id="page" style="width:50%" class="dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_full_numbers">
		   <?php echo $page_html;?>
		</div>
  </div>
  </div>